<!doctype html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>Document</title>
		<link href="../../dist/index.min.css" rel="stylesheet" type="text/css"></link>
		<script src="../../dist/index.min.js"></script>
	</head>
	<body>
		<div class="container"></div>
		<script>
			var player = new MicroPlayer(document.querySelector('.container'), {
				src: [
					{
						label: '高清',
						url: 'https://vjs.zencdn.net/v/oceans.mp4'
					},
					{
						label: '标清',
						url: 'https://vjs.zencdn.net/v/oceans.webm'
					}
				],
				autoPlay: true,
				title: '测试视频',
				poster: 'https://img0.baidu.com/it/u=3443610860,3904946242&fm=253&fmt=auto&app=138&f=JPEG?w=1069&h=800',
				live: false
			})

			console.log(player)
		</script>
	</body>
</html>
